package com.example.springbootv1.pojo;

import java.util.List;

public class Employee {
    private Integer employeeId;
    private String employeeName;
    private List<Position> positionList;

    /**
     * 获取职务  我在master分支修改了这个地方
     * @return
     */
    public List<Position> getPositionList() {
        return positionList;
    }

    /**
     * 设置职务   我在master分支修改了这个地方2
     * @param positionList 职务列表
     */
    public void setPositionList(List<Position> positionList) {
        this.positionList = positionList;
    }

    /**
     * 获取雇员Id
     * @return
     */
    public Integer getEmployeeId() {
        return employeeId;
    }

    /**
     * 设置雇员Id-master
     * @param employeeId
     */
    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    /**
     * 获取雇员姓名-master2
     * @return
     */
    public String getEmployeeName() {
        return employeeName;
    }

    /**
     * 设置雇员名称 -luojinxu
     * @param employeeName
     */
    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "employeeId=" + employeeId +
                ", employeeName='" + employeeName + '\'' +
                ", positionList=" + positionList +
                '}';
    }
}
